#include "StdAfx.h"
#include "Retina.h"

Retina::Retina(LONG x_cnt, LONG y_cnt)
{
	for (LONG x = 0; x < x_cnt; x++)
	for (LONG y = 0; y < y_cnt; y++)
	{
		m_mapRetina.insert(map_type::value_type(POINTEX(x,y), Photoreceptor())).first->second.init();
	}
}

Retina::~Retina(void)
{
	m_mapRetina.clear();
}
